/**
 * Copyright &copy; 2016 CNJSON All rights reserved.
 */
package com.hongsuan.pplive.modules.live.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.cnjson.db.service.CrudService;
import com.cnjson.db.persistence.Page;
import com.hongsuan.pplive.modules.live.dao.LiveRechargeRecordDao;
import com.hongsuan.pplive.modules.live.entity.LiveRechargeRecord;

/**
 * 单表生成Service
 * @author cgli
 * @version 2016-04-18
 */
@Service
@Transactional(readOnly = true)
public class LiveRechargeRecordService extends CrudService<LiveRechargeRecordDao, LiveRechargeRecord> {

	public LiveRechargeRecord get(String id) {
		return super.get(id);
	}

	public List<LiveRechargeRecord> findList(LiveRechargeRecord liveRechargeRecord) {
		return super.findList(liveRechargeRecord);
	}

	public Page<LiveRechargeRecord> findPage(Page<LiveRechargeRecord> page, LiveRechargeRecord liveRechargeRecord) {
		return super.findPage(page, liveRechargeRecord);
	}

	@Transactional(readOnly = false)
	public void save(LiveRechargeRecord liveRechargeRecord) {
		super.save(liveRechargeRecord);
	}

	@Transactional(readOnly = false)
	public void delete(LiveRechargeRecord liveRechargeRecord) {
		super.delete(liveRechargeRecord);
	}

}